<template>
    <div>
        <p>函数式组件</p>
        <Functional :name="name"></Functional>
    </div>
</template>

<script>
import Functional from './Functional'
// import TempVal from './TempVar'
export default {
    components: {
        Functional,
        // TempVal
    },
    data() {
        return {
            name: 'vue'
        }
    }
}
</script>